<!DOCTYPE html>
<html lang="zh-CN">
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<title>市立助手</title>
		<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css">
		<link rel="stylesheet" href="./css/style.css">
	</head>
	<body>
		<nav class="navbar">
			<div class="nav-logo">
				<img src="./static/imgs/logo.png" alt="市立助手">
				<span>市立预约平台</span>
			</div>
			<ul class="nav-links">
				<li><a href="index.html" class="active"><i class="fas fa-book-medical"></i>首页</a></li>
				<li><a href="chat.html"><i class="fas fa-comments"></i>智能预约</a></li>
				<li><a href="appointments.html"><i class="fas fa-calendar-check"></i> 预约管理</a></li>
				<li><a href="profile.html"><i class="fas fa-user"></i> 个人中心</a></li>
			</ul>
		</nav>
		<div class="app-layout">
			<div class="sidebar">
				<div class="logo-section">
					<img src="./static/imgs/logo.png" alt="市立助手" width="160" height="160">
					<span class="logo-text">市立助手</span>
				</div>
				<button class="new-chat-button" id="newChatBtn">
					<i class="fa-solid fa-plus"></i> 新会话
				</button>
			</div>

			<div class="main-content">
				<div class="chat-container">
					<div class="message-list" id="messageList">
						<!-- 消息将通过JS动态添加 -->
					</div>
					<div class="input-container">
						<input type="text" id="messageInput" placeholder="请输入消息">
						<button id="sendBtn">发送</button>
					</div>
				</div>
			</div>
		</div>

		<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
		<script src="js/auth.js"></script>
		<script src="./js/chat.js"></script>
	</body>
</html>